
	SECTION	rodata_user

	PUBLIC	_mysong


_mysong:
	defw	TABLA_SONIDOS
	defw	TABLA_PAUTAS
	defw	DATOS_NOTAS
	defw	SONG_TABLE


SONG_TABLE:
	defw	SONG_01

SONG_01:
	BINARY	"sham.mus"



; Tabla de instrumentos
TABLA_PAUTAS: DefW PAUTA_0,PAUTA_1,PAUTA_2,PAUTA_3,PAUTA_4,PAUTA_5,PAUTA_6

; Tabla de efectos
TABLA_SONIDOS: DefW SONIDO0,SONIDO1,SONIDO2,SONIDO3

;Pautas (instrumentos)
;Instrumento 'Bajo'
PAUTA_0:	DefB	46,0,13,0,12,0,11,0,129
;Instrumento 'triririn'
PAUTA_1:	DefB	8,0,74,0,11,0,43,0,10,0,72,0,8,0,40,0,8,0,132
;Instrumento 'chip1'
PAUTA_2:	DefB	4,0,71,0,8,0,40,0,8,0,70,0,5,0,37,0,5,0,69,0,132
;Instrumento 'onda1'
PAUTA_3:	DefB	72,0,10,0,11,0,12,0,11,0,10,0,9,0,8,0,129
;Instrumento 'Onda2'
PAUTA_4:	DefB	69,0,6,0,7,0,7,0,5,0,5,0,129
;Instrumento 'Chip2'
PAUTA_5:	DefB	3,0,69,0,5,0,36,0,3,0,2,0,129
;Instrumento 'Onda3'
PAUTA_6:	DefB	43,0,12,0,12,0,12,0,12,0,11,0,11,0,11,0,11,0,10,0,10,0,10,0,10,0,11,0,11,0,11,0,11,0,144

;Efectos
;Efecto 'bass drum'
SONIDO0:	DefB	0,63,0,162,95,0,93,142,0,255
;Efecto 'drum'
SONIDO1:	DefB	232,47,0,0,94,5,23,109,5,232,123,5,255
;Efecto 'hithat'
SONIDO2:	DefB	0,9,1,0,7,1,255
;Efecto 'bass drum vol 2'
SONIDO3:	DefB	186,58,0,0,102,0,162,131,0,255

;Frecuencias para las notas
DATOS_NOTAS: DefW 0,0
DefW 1711,1614,1524,1438,1358,1281,1210,1142,1078,1017
DefW 960,906,855,807,762,719,679,641,605,571
DefW 539,509,480,453,428,404,381,360,339,320
DefW 302,285,269,254,240,227,214,202,190,180
DefW 170,160,151,143,135,127,120,113,107,101
DefW 95,90,85,80,76,71,67,64,60,57
